package com.netwit.common.utils;

import java.util.UUID;

/**
 * Created by onezyang on 2017/11/7.
 */
public class UUIDUtil {
    public static String getUUID32(){
        String uuid = UUID.randomUUID().toString();
        uuid = uuid.replace("-", "");
        return uuid;
    }

    public static String getRandom6(){
        String random = String.valueOf((int)((Math.random()*9+1)*100000));
        return random;
    }

}
